package com.imooc.pojo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: 顾志杰
 * @Date: 2019/11/14
 * @Time: 15:48
 */
@Data
@ApiModel(value = "用户对象BO",description = "注册用户请求参数类")
public class UserBo {

    //swagger注释     字段注释         字段名            实例参数          是否为null
    @ApiModelProperty(value = "用户名",name = "username",example = "imooc",required = true)
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "二次密码")
    private String confirmPassword;
}
